import _axios from './request'

// 获取tag横向导航列表
function channels () {
  return _axios({
    method: 'get',
    url: '/v1_0/channels'
  })
}

// 频道新闻推荐
function articles (params) {
  return _axios({
    method: 'get',
    url: '/v1_1/articles',
    params
    // token: true
  })
}

export { channels, articles }
